<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!--头部信息-->
<header class="lyear-layout-header">

	<nav class="navbar navbar-default">
		<div class="topbar">

			<div class="topbar-left">
				<div class="lyear-aside-toggler">
					<span class="lyear-toggler-bar"></span> <span
						class="lyear-toggler-bar"></span> <span class="lyear-toggler-bar"></span>
				</div>
				<span class="navbar-page-title"> 后台首页 </span>
			</div>
			<ul class="topbar-right">
				<li class="dropdown dropdown-profile"><a data-toggle="dropdown">
						<span>${sessionScope.uName }<span class="caret"></span>
					</span>
				</a>
					<ul class="dropdown-menu dropdown-menu-right">
						<li><a href="modifyPWD"><i class="mdi mdi-lock-outline"></i>
								修改密码</a></li>
						<li><a href="#" onclick="ol()"><i
								class="mdi mdi-logout-variant"></i> 退出登录</a></li>
					</ul></li>
			</ul>

		</div>

	</nav>

	<script type="text/javascript">
		function ol() {
			var flag = confirm("确认要退出登录吗?");
			if (flag) {
				window.location.href = "${pageContext.request.contextPath}/outLogin"
				lightyear.notify('退出成功', 'success', 1000);
			}
		}
	</script>

</header>